import crafttweaker.api.item.IItemStack;
val Imm = new Make();
//坚韧布料
Imm.compound("meng_hemp_fabric",
			<item:immersiveengineering:hemp_fabric>,
			<item:immersiveengineering:hemp_fiber>,
			<item:immersiveengineering:stick_treated>);

//低压线圈
Imm.compound("meng_wirecoil_copper",
			<item:immersiveengineering:wirecoil_copper>,
			<item:immersiveengineering:wire_copper>,
			<item:immersiveengineering:stick_treated>);

//中压线圈
Imm.compound("meng_wirecoil_electrum",
			<item:immersiveengineering:wirecoil_electrum>,
			<item:immersiveengineering:wire_electrum>,
			<item:immersiveengineering:stick_treated>);

//高压线圈
Imm.compound("meng_wirecoil_steel",<item:immersiveengineering:wirecoil_steel>,
			<item:immersiveengineering:wire_aluminum>,<item:immersiveengineering:wire_steel>,<item:immersiveengineering:wire_lead>,
			<item:immersiveengineering:wire_steel>,<item:immersiveengineering:stick_treated>,<item:immersiveengineering:wire_steel>,
			<item:immersiveengineering:wire_lead>,<item:immersiveengineering:wire_steel>,<item:immersiveengineering:wire_aluminum>);

//低压电容
Imm.immCapacitor("meng_capacitor_lv","meng_create_capacitor_lv",<item:immersiveengineering:capacitor_lv>,<item:create:copper_ingot>,<item:immersiveengineering:wirecoil_copper>,
				<item:immersiveengineering:wirecoil_copper>,<item:immersiveengineering:treated_wood_horizontal>);

//中压电容
Imm.immCapacitor("meng_capacitor_mv","meng_create_capacitor_mv",<item:immersiveengineering:capacitor_mv>,<item:immersiveengineering:ingot_electrum>,<item:immersiveengineering:wirecoil_electrum>,
				<item:immersiveengineering:storage_lead>,<item:immersiveengineering:capacitor_lv>);

//高压电容
Imm.immCapacitor("meng_capacitor_hv","meng_create_capacitor_hv",<item:immersiveengineering:capacitor_hv>,<item:immersiveengineering:storage_aluminum>,<item:immersiveengineering:wirecoil_steel>,
				<item:minecraft:redstone_block>,<item:immersiveengineering:capacitor_mv>);

//强化高炉砖
Imm.compound("meng_blastbrick_reinforced",<item:immersiveengineering:blastbrick_reinforced>,4,
			<item:immersiveengineering:plate_steel>,<item:immersiveengineering:blastbrick>,<item:immersiveengineering:plate_steel>,
			<item:immersiveengineering:blastbrick>,<item:immersiveengineering:sheetmetal_steel>,<item:immersiveengineering:blastbrick>,
			<item:immersiveengineering:plate_steel>,<item:immersiveengineering:blastbrick>,<item:immersiveengineering:plate_steel>);
			
//钢锭
Imm.blastFurnace("meng_ingot_steel",<item:minecraft:iron_block>,6000,<item:immersiveengineering:ingot_steel>,<item:immersiveengineering:slag>,13);
//钢粒
Imm.blastFurnace("meng_nugget_steel",<item:minecraft:iron_ingot>,3000,<item:immersiveengineering:nugget_steel>,<item:immersiveengineering:slag>,3);

//各种板子
var name as string[] = [
	"meng_plate_copper",//铜板
	"meng_plate_aluminum",//铝板
	"meng_plate_lead",//铅板
	"meng_plate_silver",//银板
	"meng_plate_nickel",//镍板
	"meng_plate_uranium",//铀板
	"meng_plate_constantan",//康铜板
	"meng_plate_electrum",//琥珀金板
	"meng_plate_steel",//钢板
	"meng_plate_iron",//铁板
	"meng_late_gold",//金板
];

var mplate as IItemStack[] = [
	<item:immersiveengineering:plate_copper>,
	<item:create:copper_ingot>,
	<item:immersiveengineering:plate_aluminum>,
	<item:immersiveengineering:ingot_aluminum>,
	<item:immersiveengineering:plate_lead>,
	<item:immersiveengineering:ingot_lead>,
	<item:immersiveengineering:plate_silver>,
	<item:immersiveengineering:ingot_silver>,
	<item:immersiveengineering:plate_nickel>,
	<item:immersiveengineering:ingot_nickel>,
	<item:immersiveengineering:plate_uranium>,
	<item:immersiveengineering:ingot_uranium>,
	<item:immersiveengineering:plate_constantan>,
	<item:immersiveengineering:ingot_constantan>,
	<item:immersiveengineering:plate_electrum>,
	<item:immersiveengineering:ingot_electrum>,
	<item:immersiveengineering:plate_steel>,
	<item:immersiveengineering:ingot_steel>,
	<item:immersiveengineering:plate_iron>,
	<item:minecraft:iron_ingot>,
	<item:immersiveengineering:plate_gold>,
	<item:minecraft:gold_ingot>,
];

var jishu as int = 0;
for i in 0 .. name.length{
	Imm.plate(name[i],mplate[jishu],mplate[jishu+1]);
	jishu+=2;
}

//各种矿石放进高炉燃烧
var Kanme as string[] = [
	"meng_imm_dust_gold",//金
	"meng_imm_dust_iron",//铁
	"meng_imm_dust_silver",//银
	"meng_imm_dust_nickel",//镍
	"meng_imm_dust_aluminum",//铝
	"meng_imm_dust_lead",//铅
];

var Kore as IItemStack[] = [
	<item:minecraft:gold_ore>,
	<item:immersiveengineering:dust_gold>,
	<item:minecraft:iron_ore>,
	<item:immersiveengineering:dust_iron>,
	<item:immersiveengineering:ore_silver>,
	<item:immersiveengineering:dust_silver>,
	<item:immersiveengineering:ore_nickel>,
	<item:immersiveengineering:dust_nickel>,
	<item:immersiveengineering:ore_aluminum>,
	<item:immersiveengineering:dust_aluminum>,
	<item:immersiveengineering:ore_lead>,
	<item:immersiveengineering:dust_lead>
	
];

jishu = 0;
for i in 0 .. Kanme.length{
	Imm.blastFurnace(Kanme[i],Kore[jishu],600,Kore[jishu + 1],4,<item:immersiveengineering:slag>);
	jishu += 2;
}